//项目全局配置

export interface IProjectSetting {
  projectTitle: string;
  showTagsBar: boolean;
  openGlobalCache: boolean;
  openBtnPermission: boolean;
  menuType: string;
  showChangeMenuBtn: boolean;
}

const projectSetting: IProjectSetting = {
  /**
   * @type {string}
   * @description 项目名称
   */
  projectTitle: "东成采购平台",
  /**
   * @type {boolean} true | false
   * @description 是否展示标签栏
   */
  showTagsBar: true,
  /**
   * @type {boolean} true | false
   * @description 是否开启全局路由缓存
   */
  openGlobalCache: false,
  /**
   * @type {boolean} true | false
   * @description 是否开启按钮权限检查
   */
  openBtnPermission: true,
  /**
   * @type {string} card 卡片 | accordion 手风琴
   * @description 菜单类型
   */
  menuType: "accordion",
  /**
   * @type {boolean} true | false
   * @description 是否显示切换菜单按钮
   */
  showChangeMenuBtn: true
};

export default projectSetting;
